﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TopicList.aspx.cs" Inherits="MYSMRM.Web.QS.TopicList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

    <asp:LinkButton ID="lbtn_Refresh" runat="server">Refresh</asp:LinkButton>
&nbsp;&nbsp;&nbsp;
    <asp:LinkButton ID="lbtn_Add" runat="server" onclick="lbtn_Add_Click">Add</asp:LinkButton>

<p>
    <asp:GridView ID="gv_Topic" runat="server" AutoGenerateColumns="False" 
        onrowdeleting="gv_Topic_RowDeleting" onrowediting="gv_Topic_RowEditing" 
        PageSize="5" Width="800px">
        <Columns>
            <asp:BoundField DataField="I_ID" HeaderText="ID" ReadOnly="True" 
                Visible="False" />
            <asp:BoundField DataField="S_TITLE" HeaderText="Title" ReadOnly="True">
            <ItemStyle Width="300px" />
            </asp:BoundField>
            <asp:BoundField DataField="S_CREATOR" HeaderText="Creator" ReadOnly="True">
            <ItemStyle Width="80px" />
            </asp:BoundField>
            <asp:BoundField DataField="D_CREATE_DATE" HeaderText="Create Date" 
                ReadOnly="True">
            <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="D_END_DATE" HeaderText="End Date">
            <ItemStyle Width="120px" />
            </asp:BoundField>
            <asp:CommandField ShowEditButton="True" >
            <ItemStyle Width="60px" />
            </asp:CommandField>
            <asp:CommandField ShowDeleteButton="True" >
            <ItemStyle Width="60px" />
            </asp:CommandField>
        </Columns>
    </asp:GridView>
</p>
</asp:Content>
